<%
Sub action_user_html(arrs)
	'on error resume next 
	Dim arrx 
	arrx = 5 
	if not isarray(arrs) then 	redim arrs(arrx,0)

	Dim htmlac:htmlac="add"
	if int(len(arrs(0,0))) > 0 then htmlac= "edit&id=" & arrs(0,0)

	%>


		<form name='form'  method="post"  action="default.asp?action=user&that=<%=htmlac%>" onsubmit="return CheckForm(this)">
		<table width='100%' class='tablelist' border='0' align='center' cellpadding='3' cellspacing='1' >
		<tr class='tabletr' ><td width='10%'>用户名:</td><td width='90%' align="left"><input type="text" name="user_name"  value="<%=arrs(1,0)%>"/>
		</td></tr>

		<tr class='tabletr' ><td >密码:</td><td  align="left"><input type="text" name="user_password"  value="" size="60"/><b><font color="red">编辑的时候留空表示不修改</font></b></td></tr>

		<tr class='tabletr' ><td >排序:</td><td align="left"> 
		<input type="text" name="user_level" check="^[0-9]{1,10}$" warning="排序级别不正确，必须是数字"  value="<%=arrs(2,0)%>" /></font>
		</td></tr>
		
		
		<tr class='tabletr' ><td >电子邮件:</td><td  align="left"><input type="text" name="user_email"  value="<%=arrs(3,0)%>" size="60"/></td></tr>



		<tr><td colspan='2' class='tablespan'><input type='submit' name='submit' class='submit' value='提交' ></td></tr>
		</table>
		</form>

<%End Sub 
Sub action_link_html(arrs)
	'on error resume next 
	Dim arrx 
	arrx = 5 
	if not isarray(arrs) then 	redim arrs(arrx,0)

	Dim htmlac:htmlac="add"
	if int(len(arrs(0,0))) > 0 then htmlac= "edit&id=" & arrs(0,0)

	%>


		<form name='form'  method="post"  action="default.asp?action=link&that=<%=htmlac%>" onsubmit="return CheckForm(this)">
		<table width='100%' class='tablelist' border='0' align='center' cellpadding='3' cellspacing='1' >
		<tr class='tabletr' ><td width='10%'>文字:</td><td width='90%' align="left"><input type="text" name="link_title"  value="<%=arrs(1,0)%>"/>
		</td></tr>
		<tr class='tabletr' ><td >转向:</td><td  align="left"><input type="text" name="link_url"  value="<%=arrs(2,0)%>" size="60"/></td></tr>

		<tr class='tabletr' ><td >排序:</td><td align="left"> 
		<input type="text" name="link_level" check="^[0-9]{1,10}$" warning="排序级别不正确，必须是数字"  value="<%=arrs(3,0)%>" /></font>
		</td></tr>
		
		
		<tr class='tabletr' ><td ></td><td align="left"><input type="checkbox" name="cat_other" id="cat_other" value="1" onclick="LockText(this)" <%if killint(len(arrs(4,0)),0,0,3)>0 then response.write("checked")%> ><label for="cat_other">需图片Logo</label> 
		<span id="locktext" style="<%if killint(len(arrs(4,0)),0,0,3)<1 then response.write("display:none")%>"><input type="text" name="link_logo" value="<%=arrs(4,0)%>" size="38"/></span>

		</td></tr>




		<tr><td colspan='2' class='tablespan'><input type='submit' name='submit' class='submit' value='提交' ></td></tr>
		</table>
		</form>

<%End Sub 
Sub action_info_add_html(arrs)
	'on error resume next 
	Dim arrx 
	arrx = 14 
	if not isarray(arrs) then 	redim arrs(arrx,1)
'	if ubound(arrs)<> arrx then redim preserve arrs(arrx,1)
	'if ubound(arrs,2)<>1 then redim preserve arrs(arrx,1)
	if err then 
		redim preserve arrs(arrx,0)
		err.clear
	End if 
	Dim htmlac:htmlac= "edit&id=" & arrs(0,0)
	if len(arrs(1,0))<1 then htmlac="add"
	Dim ubbhtmlint,ubbhtmldiv
	ubbhtmldiv = "htmldiv"
	ubbhtmlint = arrs(9,0)
	if ubbhtmlint =True  then 
		ubbhtmldiv ="ubbdiv"
	End If 

	%>


<form name='form'  method="post"  action="default.asp?action=info&that=<%=htmlac%>" onsubmit="SaveHtml();return CheckForm(this)">
		<table width='100%' class='tablelist' border='0' align='center' cellpadding='3' cellspacing='1' >
		<tr class='tabletr' >
		<td width='10%'>标题:</td>
		<td width='90%' align="left"><input type="text" name="info_title"   check=".{1,250}." warning="标题不能是空，在1-250字符之间"  value="<%=arrs(4,0)%>" size="40"/>
		<font color="#FF0B0B"><b>1-250</b></font>
		</td></tr>
		<tr class='tabletr' ><td >所属:</td><td  align="left"><select name="cat_id" style="width:100px"><%=CatOption(arrs(1,0),0)%></select></td></tr>

		
		<tr class='tabletr' ><td > </td><td align="left">天气:<select name="info_weather" style="width:100px"><%=CatOption(arrs(5,0),2)%></select>&nbsp;&nbsp;指数:<select name="info_rank" style="width:100px"><%=CatOption(arrs(6,0),1)%></select></td></tr>

		<tr class='tabletr' ><td >格式:</td><td  align="left"> 
		<input type="radio" name="info_ubbhtml"  id="info_ubbhtml1" value="1" 	<%if ubbhtmlint  then response.write("checked") %> onclick="ubbhtmlchange(this)" /><label for="info_ubbhtml1">Html</label>
		<input type="radio" name="info_ubbhtml" id="info_ubbhtml0" value="0" <%If Not  ubbhtmlint  then response.write("checked") %> onclick="ubbhtmlchange(this)" /><label for="info_ubbhtml0">UBB</label></td></tr>

		<tr class='tabletr' ><td >内容:</td><td align="left"> 
<div id="htmldiv">
<TEXTAREA style="display:none" name="info_content" ROWS="20" COLS="70"><%=arrs(7,0)%></TEXTAREA>
<iframe  ID="eWebEditor1" src="../edittools/html/index.html?ID=info_content" name="eWebEditor1" frameborder="0" scrolling="no" width="550" HEIGHT="350" ></iframe>
</div>
<div id="ubbdiv"> <%
 call UBBhtml(arrs(7,0))%>
</div>

</td></tr>
<tr class='tabletr' ><td >上传:</td><td align="left">
	<iframe  frameborder=0 scrolling=no  src="../inc/upload.asp?user_id=0" height="23px;" width="60%"   ></iframe>
	</td>
</tr>
<tr class='tabletr' ><td >文件名:</td><td align="left"><input name="form_htmlfile" id="form_htmlfile" style="width:120px" value="<%=arrs(12,0)%>"/></td>
</tr>
<tr class='tabletr' ><td >标签:</td><td align="left"><input name="form_tags" id="form_tags" style="width:260px" value="<%=arrs(13,0)%>"/>(用;号隔开)</td>
</tr>

		<tr><td colspan='2' class='tablespan'><input type='submit' name='submit' class='submit' value='添加' ></td></tr>
		</table>
		</form>
 <script language="javascript" type="text/javascript">
<!--
    $("<%=ubbhtmldiv%>").style.display="none";
-->	
</script>

<%End Sub 
Sub UBBhtml(messages)
%>
<SCRIPT type=text/javascript>
<!--
var SESSIONURL = "";
var IMGDIR_MISC = "../edittools/ubb/images/misc";
// -->
</SCRIPT>
<SCRIPT src="../edittools/ubb/images/vbulletin_global.js" type=text/javascript></SCRIPT>
<SCRIPT src="../edittools/ubb/images/vbulletin_menu.js" type=text/javascript></SCRIPT>
 <SCRIPT src="../edittools/ubb/images/vbulletin_textedit.js"  type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>
<!--
var fontoptions = new Array("Arial", "Arial Black", "Arial Narrow", "Book Antiqua", "Century Gothic", "Comic Sans MS", "Courier New", "Fixedsys", "Franklin Gothic Medium", "Garamond", "Georgia", "Impact", "Lucida Console", "Lucida Sans Unicode", "Microsoft Sans Serif", "Palatino Linotype", "System", "Tahoma", "Times New Roman", "Trebuchet MS", "Verdana");
var sizeoptions = new Array(1, 2, 3, 4, 5, 6, 7);
var smilieoptions = new Array(); smilieoptions = { 
	'Generic Smilies' : {
		'1' : new Array('../edittools/ubb/images/smilies/biggrin.gif', ':D', 'Big Grin'),
		'8' : new Array('../edittools/ubb/images/smilies/frown.gif', ':(', 'Frown'),
		'15' : new Array('../edittools/ubb/images/smilies/old/baby.gif', ':baby:', 'Baby'),
		'7' : new Array('../edittools/ubb/images/smilies/old/pleased.gif', ':]', 'Pleased'),
		'14' : new Array('../edittools/ubb/images/smilies/rolleyes.gif', ':rolleyes:', 'Roll Eyes'),
		'6' : new Array('../edittools/ubb/images/smilies/eek.gif', '8o', 'Shocked'),
		'13' : new Array('../edittools/ubb/images/smilies/wink.gif', ';)', 'Wink'),
		'5' : new Array('../edittools/ubb/images/smilies/old/crying.gif', ';(', 'Crying'),
		'12' : new Array('../edittools/ubb/images/smilies/tongue.gif', ':P', 'Tongue'),
		'4' : new Array('../edittools/ubb/images/smilies/cool.gif', '8)', 'Cool'),
		'11' : new Array('../edittools/ubb/images/smilies/smile.gif', ':)', 'Smilie'),
		'3' : new Array('../edittools/ubb/images/smilies/confused.gif', '?(', 'Confused'),
		'10' : new Array('../edittools/ubb/images/smilies/mad.gif', 'X(', 'Mad'),
		'17' : new Array('../edittools/ubb/images/smilies/old/tongue2.gif', ':tongue:', 'Tongue'),
		'2' : new Array('../edittools/ubb/images/smilies/redface.gif', ':O', 'Red Face'),
		'more' : 'Show all Smilies'
} };

var istyles = new Array(); istyles = { "pi_button_down" : [ "#98B5E2", "#000000", "0px", "1px solid #316AC5" ], "pi_button_hover" : [ "#C1D2EE", "#000000", "0px", "1px solid #316AC5" ], "pi_button_normal" : [ "#E1E1E2", "#000000", "1px", "none" ], "pi_button_selected" : [ "#F1F6F8", "#000000", "0px", "1px solid #316AC5" ], "pi_menu_down" : [ "#98B5E2", "#316AC5", "0px", "1px solid #316AC5" ], "pi_menu_hover" : [ "#C1D2EE", "#316AC5", "0px", "1px solid #316AC5" ], "pi_menu_normal" : [ "#FFFFFF", "#000000", "0px", "1px solid #FFFFFF" ], "pi_popup_down" : [ "#98B5E2", "#000000", "0px", "1px solid #316AC5" ] };

var smiliewindow_x = 240;
var smiliewindow_y = 280;

var ignorequotechars = 1;

// vB Phrases
vbphrase["wysiwyg_please_wait"]          = "Please wait for the WYSIWYG editor to finish loading...";
vbphrase["wysiwyg_initialized"]          = "WYSIWYG Editor initialized for %1$s in %2$s seconds.";
vbphrase["wysiwyg_command_invalid"]      = "This command is invalid or not implemented.";
vbphrase["moz_must_select_text"]         = "Mozilla requires that you must select some text for this function to work";
vbphrase["moz_edit_config_file"]         = "You need to edit your Mozilla config file to allow this action.";
vbphrase["enter_tag_option"]             = "Please enter the option for your %1$s tag:";
vbphrase["must_select_text_to_use"]      = "You must select some text to use this function.";
vbphrase["browser_is_safari_no_wysiwyg"] = "The Safari browser does not support WYSIWYG mode.";
vbphrase["enter_option_x_tag"]           = "Enter the option for the [%1$s] tag:";
vbphrase["enter_text_to_be_formatted"]   = "Enter the text to be formatted";
vbphrase["enter_link_text"]              = "Enter the text to be displayed for the link (optional):";
vbphrase["enter_list_type"]              = "What type of list do you want? Enter '1' for a numbered list, enter 'a' for an alphabetical list, or leave blank for a list with bullet points:";
vbphrase["enter_list_item"]              = "Enter a list item.\r\nLeave the box empty or press 'Cancel' to complete the list:";
vbphrase["must_enter_subject"]           = "You must enter a title / subject!";
vbphrase["message_too_short"]            = "The message you have entered is too short. Please lengthen your message to at least %1$s characters.";
vbphrase["enter_link_url"]               = "Please enter the URL of your link:";
vbphrase["enter_image_url"]              = "Please enter the URL of your image:";
vbphrase["enter_email_link"]             = "Please enter the email address for the link:";
vbphrase["iespell_not_installed"]        = "ieSpell is a spell-checking tool for Internet Explorer.\r\n\r\nIf you would like to download ieSpell, click OK; otherwise click Cancel.\r\n\r\nieSpell can be downloaded from http://www.iespell.com";
vbphrase["click_quick_reply_icon"]       = "";
vbphrase["insert_all"]                   = "Insert All";

//-->
</SCRIPT>
<!-- END EDITOR SCRIPTS --><!-- EDITOR STYLES -->
<LINK 
            href="../edittools/ubb/images/vbulletin_editor.css" 
            type=text/css rel=stylesheet>
<STYLE type=text/css>

.EditTable{ border:0}
.EditTable tr td{background:#EBEBEB}
</STYLE>
            <DIV class=vBulletin_editor id=vB_Editor_001>
            <TABLE cellSpacing=0 cellPadding=0 border=0 class="EditTable">
              <TR><!--第一行开始-->
                <TD class=controlbar id=vB_Editor_001_controls colSpan=2>
                  <TABLE cellSpacing=0 cellPadding=0 border=0>
                    <TBODY>
                    <TR>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_removeformat><IMG height=20 
                        alt="Remove Text Formatting" 
                        src="../edittools/ubb/images/removeformat.gif" 
                        width=21></DIV></TD>
                      <TD><IMG height=20 alt="" 
                        src="../edittools/ubb/images/separator.gif" 
                        width=6></TD>
                      <TD>
                        <DIV class=imagebutton id=vB_Editor_001_popup_fontname 
                        title=Fonts>
                        <TABLE cellSpacing=0 cellPadding=0 border=0>
                          <TBODY>
                          <TR>
                            <TD class=popup_feedback>
                              <DIV id=vB_Editor_001_font_out 
                              style="WIDTH: 91px"></DIV></TD>
                            <TD class=popup_pickbutton><IMG height=16 alt="" 
                              src="../edittools/ubb/images/menupop.gif" 
                              width=11></TD></TR></TBODY></TABLE></DIV></TD>
                      <TD>
                        <DIV class=imagebutton id=vB_Editor_001_popup_fontsize 
                        title=Sizes>
                        <TABLE cellSpacing=0 cellPadding=0 border=0>
                          <TBODY>
                          <TR>
                            <TD class=popup_feedback>
                              <DIV id=vB_Editor_001_size_out 
                              style="WIDTH: 25px"></DIV></TD>
                            <TD class=popup_pickbutton><IMG height=16 alt="" 
                              src="../edittools/ubb/images/menupop.gif" 
                              width=11></TD></TR></TBODY></TABLE></DIV></TD>
                      <TD><IMG height=20 alt="" 
                        src="../edittools/ubb/images/separator.gif" 
                        width=6></TD>
                      <TD>
                        <DIV class=imagebutton id=vB_Editor_001_popup_forecolor 
                        title=Colors>
                        <TABLE cellSpacing=0 cellPadding=0 border=0>
                          <TBODY>
                          <TR>
                            <TD id=vB_Editor_001_color_out><IMG height=16 
                              alt="" 
                              src="../edittools/ubb/images/color.gif" 
                              width=21><BR><IMG id=vB_Editor_001_color_bar 
                              style="BACKGROUND-COLOR: black" height=4 alt="" 
                              src="../edittools/ubb/images/clear.gif" 
                              width=21></TD>
                            <TD class=alt_pickbutton><IMG height=16 alt="" 
                              src="../edittools/ubb/images/menupop.gif" 
                              width=11></TD></TR></TBODY></TABLE></DIV></TD>
                      <TD><IMG height=20 alt="" 
                        src="../edittools/ubb/images/separator.gif" 
                        width=6></TD>
                      <TD>
                        <DIV class=imagebutton id=vB_Editor_001_popup_smilie 
                        title=Smilies>
                        <TABLE cellSpacing=0 cellPadding=0 border=0>
                          <TBODY>
                          <TR>
                            <TD><IMG height=20 alt="" 
                              src="../edittools/ubb/images/smilie.gif" 
                              width=21></TD>
                            <TD class=alt_pickbutton><IMG height=16 alt="" 
                              src="../edittools/ubb/images/menupop.gif" 
                              width=11></TD></TR></TBODY></TABLE></DIV></TD>
                      <TD><IMG height=20 alt="" 
                        src="../edittools/ubb/images/separator.gif" 
                        width=6></TD>
                      <TD>
                        <DIV class=imagebutton id=vB_Editor_001_cmd_undo><IMG 
                        height=20 alt=Undo 
                        src="../edittools/ubb/images/undo.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton id=vB_Editor_001_cmd_redo><IMG 
                        height=20 alt=Redo 
                        src="../edittools/ubb/images/redo.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_spelling><IMG height=20 
                        alt="Check Spelling" 
                        src="../edittools/ubb/images/spelling.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_resize_0_100><IMG height=9 
                        alt="Decrease Size" 
                        src="../edittools/ubb/images/resize_0.gif" 
                        width=21></DIV>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_resize_1_100><IMG height=9 
                        alt="Increase Size" 
                        src="../edittools/ubb/images/resize_1.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_switchmode><IMG height=20 
                        alt="Switch Editor Mode" 
                        src="../edittools/ubb/images/switchmode.gif" 
                        width=21></DIV></TD></TR></TBODY></TABLE>
                  <TABLE cellSpacing=0 cellPadding=0 border=0>
                    <TBODY>
                    <TR>
                      <TD>
                        <DIV class=imagebutton id=vB_Editor_001_cmd_bold><IMG 
                        height=20 alt=Bold 
                        src="../edittools/ubb/images/bold.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton id=vB_Editor_001_cmd_italic><IMG 
                        height=20 alt=Italic 
                        src="../edittools/ubb/images/italic.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_underline><IMG height=20 
                        alt=Underline 
                        src="../edittools/ubb/images/underline.gif" 
                        width=21></DIV></TD>
                      <TD><IMG height=20 alt="" 
                        src="../edittools/ubb/images/separator.gif" 
                        width=6></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_justifyleft><IMG height=20 
                        alt="Align Left" 
                        src="../edittools/ubb/images/justifyleft.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_justifycenter><IMG height=20 
                        alt="Align Center" 
                        src="../edittools/ubb/images/justifycenter.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_justifyright><IMG height=20 
                        alt="Align Right" 
                        src="../edittools/ubb/images/justifyright.gif" 
                        width=21></DIV></TD>
                      <TD><IMG height=20 alt="" 
                        src="../edittools/ubb/images/separator.gif" 
                        width=6></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_insertorderedlist><IMG height=20 
                        alt="Ordered List" 
                        src="../edittools/ubb/images/insertorderedlist.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_insertunorderedlist><IMG height=20 
                        alt="Unordered List" 
                        src="../edittools/ubb/images/insertunorderedlist.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton id=vB_Editor_001_cmd_outdent><IMG 
                        height=20 alt="Decrease Indent" 
                        src="../edittools/ubb/images/outdent.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton id=vB_Editor_001_cmd_indent><IMG 
                        height=20 alt="Increase Indent" 
                        src="../edittools/ubb/images/indent.gif" 
                        width=21></DIV></TD>
                      <TD><IMG height=20 alt="" 
                        src="../edittools/ubb/images/separator.gif" 
                        width=6></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_createlink><IMG height=20 
                        alt="Insert Link" 
                        src="../edittools/ubb/images/createlink.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton id=vB_Editor_001_cmd_unlink><IMG 
                        height=20 alt="Remove Link" 
                        src="../edittools/ubb/images/unlink.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton id=vB_Editor_001_cmd_email><IMG 
                        height=20 alt="Insert Email Link" 
                        src="../edittools/ubb/images/email.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_insertimage><IMG height=20 
                        alt="Insert Image" 
                        src="../edittools/ubb/images/insertimage.gif" 
                        width=21></DIV></TD>
                      <TD><IMG height=20 alt="" 
                        src="../edittools/ubb/images/separator.gif" 
                        width=6></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_wrap0_quote><IMG height=20 
                        alt="Wrap [QUOTE] tags around selected text" 
                        src="../edittools/ubb/images/quote.gif" 
                        width=21></DIV></TD>
                      <TD><IMG height=20 alt="" 
                        src="../edittools/ubb/images/separator.gif" 
                        width=6></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_wrap0_code><IMG height=20 
                        alt="Wrap [CODE] tags around selected text" 
                        src="../edittools/ubb/images/code.gif" 
                        width=21></DIV></TD>
                      <TD>
                        <DIV class=imagebutton 
                        id=vB_Editor_001_cmd_wrap0_php><IMG height=20 
                        alt="Wrap [PHP] tags around selected text" 
                        src="../edittools/ubb/images/php.gif" 
                        width=21></DIV></TD></TR></TBODY></TABLE></TD></TR>
              <TR vAlign=top>
                <TD class=controlbar><TEXTAREA id=vB_Editor_001_textarea dir=ltr style="WIDTH: auto; HEIGHT: 250px" tabIndex=1 name="message" rows=10 cols=50><%=messages%></TEXTAREA></TD>
                <TD class=controlbar>
                  <FIELDSET id=vB_Editor_001_smiliebox 
                  title=Smilies><LEGEND>Smilies</LEGEND>
                  <TABLE cellSpacing=0 cellPadding=4 align=center border=0>
                    <TBODY>
                    <TR vAlign=bottom align=middle>
                      <TD><IMG id=vB_Editor_001_smilie_1 title="Big Grin" 
                        alt=:D 
                        src="../edittools/ubb/images/biggrin.gif" 
                        border=0></TD>
                      <TD><IMG id=vB_Editor_001_smilie_8 title=Frown alt=:( 
                        src="../edittools/ubb/images/frown.gif" 
                        border=0></TD>
                      <TD><IMG id=vB_Editor_001_smilie_15 title=Baby 
                        alt=:baby: 
                        src="../edittools/ubb/images/baby.gif" 
                        border=0></TD></TR>
                    <TR vAlign=bottom align=middle>
                      <TD><IMG id=vB_Editor_001_smilie_7 title=Pleased alt=:] 
                        src="../edittools/ubb/images/pleased.gif" 
                        border=0></TD>
                      <TD><IMG id=vB_Editor_001_smilie_14 title="Roll Eyes" 
                        alt=:rolleyes: 
                        src="../edittools/ubb/images/rolleyes.gif" 
                        border=0></TD>
                      <TD><IMG id=vB_Editor_001_smilie_6 title=Shocked alt=8o 
                        src="../edittools/ubb/images/eek.gif" 
                        border=0></TD></TR>
                    <TR vAlign=bottom align=middle>
                      <TD><IMG id=vB_Editor_001_smilie_13 title=Wink alt=;) 
                        src="../edittools/ubb/images/wink.gif" 
                        border=0></TD>
                      <TD><IMG id=vB_Editor_001_smilie_5 title=Crying alt=;( 
                        src="../edittools/ubb/images/crying.gif" 
                        border=0></TD>
                      <TD><IMG id=vB_Editor_001_smilie_12 title=Tongue alt=:P 
                        src="../edittools/ubb/images/tongue.gif" 
                        border=0></TD></TR>
                    <TR vAlign=bottom align=middle>
                      <TD><IMG id=vB_Editor_001_smilie_4 title=Cool alt=8) 
                        src="../edittools/ubb/images/cool.gif" 
                        border=0></TD>
                      <TD><IMG id=vB_Editor_001_smilie_11 title=Smilie alt=:) 
                        src="../edittools/ubb/images/smile.gif" 
                        border=0></TD>
                      <TD><IMG id=vB_Editor_001_smilie_3 title=Confused alt=?( 
                        src="../edittools/ubb/images/confused.gif" 
                        border=0></TD></TR>
                    <TR vAlign=bottom align=middle>
                      <TD><IMG id=vB_Editor_001_smilie_10 title=Mad alt=X( 
                        src="../edittools/ubb/images/mad.gif" 
                        border=0></TD>
                      <TD><IMG id=vB_Editor_001_smilie_17 title=Tongue 
                        alt=:tongue: 
                        src="../edittools/ubb/images/tongue2.gif" 
                        border=0></TD>
                      <TD><IMG id=vB_Editor_001_smilie_2 title="Red Face" 
                        alt=:O 
                        src="../edittools/ubb/images/redface.gif" 
                        border=0></TD></TR>
                    <TR>
                      <TD class=smallfont colSpan=3>[<A 
                        title="Showing 15 smilies of 202 total." 
                        onclick="vB_Editor['vB_Editor_001'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false" 
                        href="#">More</A>]</TD></TR></TBODY></TABLE></FIELDSET> 
                </TD></TR></TABLE>        <SCRIPT type=text/javascript>
<!--
vB_Editor['vB_Editor_001'] = new vB_Text_Editor('vB_Editor_001', 0, '33', '1');
//-->
</SCRIPT>
             <!-- / message area -->
            <SCRIPT type=text/javascript>
	<!--
	function swap_posticon(imgid)
	{
		var out = fetch_object("display_posticon");
		var img = fetch_object(imgid);
		if (img)
		{
			out.src = img.src;
			out.alt = img.alt;
		}
		else
		{
			out.src = "clear.gif";
			out.alt = "";
		}
	}
	// -->
	</SCRIPT>
<SCRIPT type=text/javascript>
<!--
	// Main vBulletin Javascript Initialization
	vBulletin_init();
//-->
</SCRIPT>
</DIV>
<%End Sub
Sub GlobalIniHtmlForm()
	 
%>
<form name='form'  method="post"  action="default.asp?action=base&that=globalini" onsubmit="return CheckForm(this)">
		<table width='100%' class='tablelist' border='0'   cellpadding='5' cellspacing='1' >
		<tr>
		<td colspan="2" class="TdSpan">字符串常量配置</td>
		</tr>
		<tr >
			<td width='15%'>模板风格:</td>
			<td align="left" ><input type="text" name="str_TemplateStyle"  check=".{1,250}." warning="风格不能是空，在1-250字符之间"  value="<%=TemplateStyle%>" size="40"/>TemplateStyle
			</td>
		</tr>

		<tr >
			<td>系统名称:</td>
			<td align="left" ><input type="text" name="str_IniMainTitle" value="<%=IniMainTitle%>" size="40"/>IniMainTitle
			</td>
		</tr>

		<tr >
			<td>基本标题:</td>
			<td align="left" ><input type="text" name="str_IniTitle"  value="<%=IniTitle%>" size="40"/>IniTitle
		</td>
		<tr >
			<td>基本地址:</td>
			<td align="left" ><input type="text" name="str_BaseURI" value="<%=BaseURI%>" size="40"/>BaseURI
			</td>
		</tr>
		<tr >
			<td>文件上传路径:</td>
			<td align="left" ><input type="text" name="str_SaveUpFilesPath" value="<%=SaveUpFilesPath%>" size="40"/>SaveUpFilesPath
			</td>
		</tr>
		<tr >
			<td>上传文件类型:</td>
			<td align="left" ><input type="text" name="str_UpFileType" value="<%=UpFileType%>" size="40"/>UpFileType
			</td>
		</tr>
		<tr >
			<td>XMLDOM类:</td>
			<td align="left" ><input type="text" name="str_XmlDomObjectName" value="<%=XmlDomObjectName%>" size="40"/>XmlDomObjectName
			</td>
		</tr>
		<tr >
			<td>默认静态页扩展名:</td>
			<td align="left" ><input type="text" name="str_SystemCacheFileExt" value="<%=SystemCacheFileExt%>" size="40"/>SystemCacheFileExt
			</td>
		</tr>
		<tr >
			<td>缓存信息XML路径:</td>
			<td align="left" ><input type="text" name="str_XmlFilePath" value="<%=XmlFilePath%>" size="40"/>XmlFilePath
			</td>
		</tr>
		<tr >
			<td>默认ASP执行模板:</td>
			<td align="left" ><input type="text" name="str_TemplateBasePath" value="<%=TemplateBasePath%>" size="40"/>TemplateBasePath
			</td>
		</tr>
		
		<tr>
		<td colspan="2" class="TdSpan">数字型常量配置</td>
		</tr>
		<tr >
			<td>后台每页条数:</td>
			<td align="left" ><input type="text" name="int_PageLimit" value="<%=PageLimit%>" size="40"/>PageLimit
			</td>
		</tr>
		<tr >
			<td>加入后台管理级别:</td>
			<td align="left" ><input type="text" name="int_AdminLevel" value="<%=AdminLevel%>" size="40"/>AdminLevel
			</td>
		</tr>
		<tr >
			<td>截取字符长度:</td>
			<td align="left" ><input type="text" name="int_CutWord" value="<%=CutWord%>" size="40"/>CutWord
			</td>
		</tr>

		<tr >
			<td>用户名最短:</td>
			<td align="left" ><input type="text" name="int_BaseUserLen" value="<%=BaseUserLen%>" size="40"/>BaseUserLen
			</td>
		</tr>
		<tr >
			<td>管理回复截取:</td>
			<td align="left" ><input type="text" name="int_AdminReplyCut" value="<%=AdminReplyCut%>" size="40"/>AdminReplyCut
			</td>
		</tr>
		<tr >
			<td>前台截取标题:</td>
			<td align="left" ><input type="text" name="int_FrontCutTitle" value="<%=FrontCutTitle%>" size="40"/>FrontCutTitle
			</td>
		</tr>
		<tr >
			<td>前台每页条数:</td>
			<td align="left" ><input type="text" name="int_FrontPageList" value="<%=FrontPageList%>" size="40"/>FrontPageList
			</td>
		</tr>
		<tr >
			<td>静态页每页条数:</td>
			<td align="left" ><input type="text" name="int_FrontDirPageList" value="<%=FrontDirPageList%>" size="40"/>FrontDirPageList
			</td>
		</tr>

		
		<tr >
			<td>用户上传大小:</td>
			<td align="left" ><input type="text" name="int_MaxFileSize" value="<%=MaxFileSize%>" size="40"/>MaxFileSize(KB)</td>
		</tr>
		<tr>
		<td colspan="2" class="TdSpan">布尔常量配置（True 或者 Flase）</td>
		</tr>
		<tr >
			<td>是否生成静态页:</td>
			<td align="left" ><input type="text" name="bool_NeedHtmlPage" value="<%=NeedHtmlPage%>" size="40"/>NeedHtmlPage，true表示需要生成，false表示不需要
			</td>
		</tr>
		<tr >
			<td>加锁栏目:</td>
			<td align="left" ><input type="text" name="bool_NoShowLockedCat" value="<%=NoShowLockedCat%>" size="40"/>NoShowLockedCat，true表示加锁的不出现列表
			</td>
		</tr>
		<tr >
			<td>加锁列表:</td>
			<td align="left" ><input type="text" name="bool_NoLockedTopn" value="<%=NoLockedTopn%>" size="40"/>NoLockedTopn，'true表示加锁的不出现在最新日志列表
			</td>
		</tr>
		<tr >
			<td>加锁展示:</td>
			<td align="left" ><input type="text" name="bool_NoLockedTopnInfo" value="<%=NoLockedTopnInfo%>" size="40"/>NoLockedTopnInfo，'true表示加锁的不出现在首页展示的
			</td>
		</tr>
		<tr >
			<td>加锁回复:</td>
			<td align="left" ><input type="text" name="bool_NoReplyList" value="<%=NoReplyList%>" size="40"/>NoReplyList，'true表示加密的日志回复不出现在列表
			</td>
		</tr>
		<tr >
			<td>加锁信息于用户:</td>
			<td align="left" ><input type="text" name="bool_ReadLockYes" value="<%=ReadLockYes%>" size="40"/>ReadLockYes，'true表示加锁的不能阅读
			</td>
		</tr>
		<tr >
			<td>游客回复:</td>
			<td align="left" ><input type="text" name="bool_GuestPostForm" value="<%=GuestPostForm%>" size="40"/>GuestPostForm，'true决定访客能评论文章
			</td>
		</tr>
		<tr >
			<td>文件名自动格式:</td>
			<td align="left" ><input type="text" name="bool_AutoFormatCatalogueFile" value="<%=AutoFormatCatalogueFile%>" size="40"/>AutoFormatCatalogueFile，'true表示文件名自动格式
			</td>
		</tr>
		<tr >
			<td>开启用户上传:</td>
			<td align="left" ><input type="text" name="bool_EnableUploadFile" value="<%=EnableUploadFile%>" size="40"/>EnableUploadFile，'true 表示支持用户上传
			</td>
		</tr>

		
		<tr><td colspan='2' class='tablespan'><input type='submit' name='submit' class='submit' value='提交' ></td></tr>
		</table>
		</form>



<%End Sub 
%>